package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生用户信息对象 student_user
 * 
 * @author ljc
 * @date 2025-01-14
 */
public class StudentUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 身份证 */
    @Excel(name = "身份证")
    private String identityId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String realName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 机构编号 */
    @Excel(name = "机构编号")
    private String institutionAccount;

    /** 状态 0可用 1禁用 默认0
            */
    @Excel(name = "状态 0可用 1禁用 默认0 ")
    private Integer status;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 班级编号 */
    @Excel(name = "班级编号")
    private Long classId;

    /** 专家ID */
    @Excel(name = "专家ID")
    private Long expertId;

    /** 年级 */
    @Excel(name = "年级")
    private Integer grade;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setIdentityId(String identityId) 
    {
        this.identityId = identityId;
    }

    public String getIdentityId() 
    {
        return identityId;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setInstitutionAccount(String institutionAccount) 
    {
        this.institutionAccount = institutionAccount;
    }

    public String getInstitutionAccount() 
    {
        return institutionAccount;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setExpertId(Long expertId) 
    {
        this.expertId = expertId;
    }

    public Long getExpertId() 
    {
        return expertId;
    }
    public void setGrade(Integer grade) 
    {
        this.grade = grade;
    }

    public Integer getGrade() 
    {
        return grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("identityId", getIdentityId())
            .append("realName", getRealName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("phone", getPhone())
            .append("institutionAccount", getInstitutionAccount())
            .append("status", getStatus())
            .append("email", getEmail())
            .append("birthday", getBirthday())
            .append("classId", getClassId())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("expertId", getExpertId())
            .append("grade", getGrade())
            .toString();
    }
}
